package com.dgut.shopManage.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.dgut.shopManage.entity.Shop;
import com.dgut.shopManage.entity.dto.ShopDTO;


public interface IShopService {
	public void saveOrUpdate(Shop shop);
	public void delete(Shop shop);
	public  Shop findOne(Long id);
	public List<Shop> findAll();
	//public Page<Shop> findAll(Specification<Shop> spec, Pageable pageable);
	public Page<ShopDTO> findAll(Specification<Shop> spec, Pageable pageable);
}
